<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<%@ include file="../common/top_css.jsp"%>
<script src="${pageContext.request.contextPath}/bootstrap/js/jquery.js"></script> <!-- jQuery -->
<script type="text/javascript">
	
</script>

</head>

<body>
	<div class="navbar navbar-fixed-top bs-docs-nav" role="banner">
		<div class="conjtainer">
  			<%@ include file="../common/top_nav.jsp" %>
		</div>
	</div>


	<%@ include file="../common/top.jsp" %>
	<div class="content">
		<%@ include file="../common/left.jsp" %>
		<div class="mainbar">
		<%@ include file="../common/page-head.jsp" %>
			<div class="matter">
				<div class="container">
				<!-- 内容开始 -->
					<!-- 表单 -->
					<div class="widget wgreen">
		                <div class="widget-head">
		                  <div class="pull-left">搜索</div>
		                  <div class="widget-icons pull-right">
		                    <a href="#" class="wminimize"><i class="icon-chevron-up"></i></a> 
		                    <a href="#" class="wclose"><i class="icon-remove"></i></a>
		                  </div>
		                  <div class="clearfix"></div>
		                </div>
		                <div class="widget-content">
		                  <div class="padd">
		                    <!-- Form starts.  -->
		                     <form class="form-horizontal" role="form" action="${pageContext.request.contextPath}/supplier/insertSupplier.action" method="post">
                                <div class="form-group">
                                  <label class="col-lg-2 control-label">供应商名称</label>
                                  <div class="col-lg-4">
                                    <input class="form-control" name="name" placeholder="供应商" type="text">
                                  </div>
                                  <label class="col-lg-2 control-label">提货方式</label>
                                  <div class="col-lg-4">
                                    <select class="form-control" name="needs">
                                      <option value="1">送货</option>
                                      <option value="2">自提</option>
                                    </select>
                                  </div>
                                </div>
                                <div class="form-group">
                                  <label class="col-lg-2 control-label">联系人</label>
                                  <div class="col-lg-4">
                                    <input class="form-control" name="contact" placeholder="联系人" type="text">
                                  </div>
                                  <label class="col-lg-2 control-label">电话</label>
                                  <div class="col-lg-4">
                                    <input class="form-control" name="tele" placeholder="电话" type="text">
                                  </div>
                                </div>
                                 <div class="form-group">
                                  <label class="col-lg-4 control-label">供应商地址</label>
                                  <div class="col-lg-8">
                                    <input class="form-control" name="address" placeholder="供应商地址" type="text">
                                  </div>
                                </div>
                                <hr>
                                <div class="form-group">
                                  <div class="col-lg-offset-1 col-lg-9">
                                    <input type="submit"  class="btn btn-info" value="Add"/>
                                    <input type="reset"  class="btn btn-default" value="Reset"/>
                                  </div>
                                </div>
                             </form>
		                  </div>
		                </div>
		                  <div class="widget-foot">
		                    <!-- Footer goes here -->
		                  </div>
		              </div>	
					
				<!-- 内容结束 -->
				</div>
			</div>
		</div>
	</div>
	<%@ include file="../common/footer.jsp" %>
 	<%@ include file="../common/footer_js.jsp" %>
</body>
</html>
